home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / amiga / gcc233.lha / include / search.h < prev    next >
C/C++ Source or Header  |  1992-08-10  |  320b  |  14 lines

  1. #ifndef _SEARCH_H
  2. #define _SEARCH_H
  3.  
  4. /* search.h -- declarations for POSIX/SVID-compatible search functions */
  5.  
  6. /* HSEARCH(3C) */
  7. typedef struct entry { char *key, *data; } ENTRY;
  8. typedef enum { FIND, ENTER } ACTION;
  9.  
  10. /* TSEARCH(3C) */
  11. typedef enum { preorder, postorder, endorder, leaf } VISIT;
  12.  
  13. #endif /* _SEARCH_H */
  14.